#ifndef UART_H_
#define UART_H_

// UART Structs

// RX BUFFER
struct UART_RX_BUF
{
	unsigned char Buffer[60];					// Actual 60 Byte Buffer
	unsigned char *Buf_Strt;					// Pointer to Start Element
	unsigned char *Buf_End;						// Pointer to End Element
	unsigned char Buffer_Length;			    // Length of Buffer
};

// TX BUFFER
struct UART_TX_BUF
{
	unsigned char Buffer[128];					// Actual 128 Byte Buffer
	unsigned char *Buf_Strt;					// Pointer to Start Element
	unsigned char *Buf_End;						// Pointer to End Element
	unsigned char Buffer_Length;			    // Length of Buffer
};

// UART function prototypes

void init_uart_tx_rx(void);
void tx_byte_to_slave(char);
void S_parseRXCmd(void);
void tx_slave_string(char *Tx_string);

#endif /*UART_H_*/
